//
//  LNCollectionViewController.h
//  LNDevelopExample
//
//  Created by wwww on 2018/9/28.
//  Copyright © 2018年 淘发现1iOS. All rights reserved.
//

#import "LNViewController.h"
#import "LNCollectionViewModel.h"

@interface LNCollectionViewController : LNViewController
//UICollectionView
@property (nonatomic,readonly,weak) UICollectionView *collectionView;
//tableView内容缩进 default is UIEdgeInsetsMake(64,0,0,0)，you can override it
@property (nonatomic,readonly,assign) UIEdgeInsets contentInset;
/// reload tableView data , sub class can override
- (void)reloadData;

/// dequeueReusableCell
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView dequeueReusableCellWithReuseIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath;

/// configure cell data
- (void)configureCell:(UICollectionViewCell *)cell atIndexPath:(NSIndexPath *)indexPath withObject:(id)object;
@end
